﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using AFCEPF.BankApplication.BLL;
using AFCEPF.BankApplication.DAL;


namespace AFCEPF.BankApplication.Tests.Utilities
{
    [Table("Personne")]
    class MockPerson : DataMapper
    {
        private string _name;
        private string _firstName;
        private int _yearOfBirth;

        public MockPerson()
        {}

        public MockPerson(string name, string firstName, int yearOfBirth)
        {
            _name = name;
            _firstName = firstName;
            _yearOfBirth = yearOfBirth;
        }


        [Field("AnnéeNaissance")]
        public int YearOfBirth
        {
            get { return _yearOfBirth;      }
            set { _yearOfBirth = value;     }
        }

        [Field("Prénom")]
        public string FirstName
        {
            get { return _firstName;        }
            set { _firstName = value;       }
        }

        [Field("Nom")]
        public string Name
        {
            get { return _name;             }
            set { _name = value;            }
        }
    }
}
